#include "List.h"
int main()
{
	LTNode* plist = LTInit();
	LTPushBack(plist, 1);
	LTPushBack(plist, 5);
	LTPushFront(plist, 2);
	LTPushFront(plist, 3);
	LTPushFront(plist, 4);
	LTPrint(plist);
	LTNode* pos = LTFind(plist,4);
	if (pos)
	{
		LTErase(pos);
	}
	LTPrint(plist);
	LTPopFront(plist);
	LTPopBack(plist);
	LTPrint(plist);
	LTDestory(plist);
	plist = NULL;
	return 0;
}